package com.fs.ibox.service.impl;


import com.fs.ibox.dao.CarouselDao;
import com.fs.ibox.pojo.Carousel;
import com.fs.ibox.service.CarouselService;
import com.fs.ibox.util.BeanFactory;

import java.util.List;

/**
 *Author:HOU
 *date:2022/11/16  17:03
 *案例:
**/



public class CarouselServiceimpl implements CarouselService {
    CarouselDao carouselDao = BeanFactory.createBean(CarouselDao.class);
    @Override
    public List<Carousel> selectAll() {
        return carouselDao.queryAll();
    }

}
